Skip to content

fix(webdav): contain temp-path resolution within the temp directory - #37939

Closed
oidacra wants to merge 1 commit into
mainfrom
713-webdav-temp-path-hardening
Closed

oidacra wants to merge 1 commit into
mainfrom
713-webdav-temp-path-hardening

Conversation

@oidacra

@oidacra oidacra commented Oct 7, 2026 •

Copy link
Copy Markdown
Member

Superseded by #37947.

@github-actions github-actions Bot added the Area : Backend PR changes Java/Maven backend code label Oct 7, 2026
@claude

claude Bot commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @oidacra's task in 2m 8s —— View job


I'll analyze this and get back to you.

WebDAV temp-storage paths and names come from the client. Resolve every temp
path strictly inside the temp directory (the directory itself is not a valid
resource), and require names that reach temp storage to be a single plain path
segment. Temp writes (copy, move, create file, create folder) build their target
through one helper and reject invalid input with 400 before touching the
filesystem. Rejections are logged without the request path.

Adds DotWebdavTempPathContainmentTest, registered in MainSuite3a.
@oidacra
oidacra force-pushed the 713-webdav-temp-path-hardening branch from f7ddc90 to 7a4bf22 Compare October 7, 2026 20:47
@oidacra oidacra closed this Oct 8, 2026
@oidacra
oidacra deleted the 713-webdav-temp-path-hardening branch October 8, 2026 14:51
@github-actions

github-actions Bot commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

❌ Linked Issue Needs Team Label

This PR is linked to issue #713, but that issue has no Team : * label. Every linked issue must be owned by a team for tracking and triage.

How to fix this:

Apply a Team : * label to the linked issue (e.g., Team : Scout, Team : Platform, Team : Falcon, Team : Maintenance). Then push a new commit or edit the PR description to re-run this check.


This comment was automatically generated by the issue linking workflow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area : Backend PR changes Java/Maven backend code

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant